<?php

namespace App\Trip\Plane\Resp;

use App\Trip\Plane\Interfaces\Resp\CommonResponseInterface;

class PriceCalendarResponse implements CommonResponseInterface
{

    /**
     * @var array|array[]
     */
    private array $res;

    public function __construct(array $resp)
    {
        $this->res = [
            'list' => $resp,
        ];
    }

    public function toArray(): array
    {
        return $this->res;
    }
}